<?php
/*
 * Plugin Name: WB Update Log
 * Plugin URI: https://blog.wbox8.com/
 * Description: 产品更新日志记录显示插件，支持简码调用，支持文章关联调用，支持设置显示类型，支持自定义CSS样式
 * Version: 1.1
 * Author: 西部盒子
 * Author URI: https://blog.wbox8.com/
*/
if (!defined('ABSPATH')) {
    exit();
}
define( 'WBOX_UL_DIR', plugin_dir_path( __FILE__ ) );

//加载前端代码
require_once WBOX_UL_DIR . 'includes/post-type.php';
require_once WBOX_UL_DIR . 'includes/show.php';

//只在后端加载
if(is_admin()){
    require_once WBOX_UL_DIR . 'includes/setting.php';
}
